/* ========== هدر جدید و شیک ========== */


/* شبکه باکس‌ها - دست نزده */

.box-container {
    max-width: 1400px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

@keyframes circleAnimation {
    from {
        scale: 0.3;
    }
    to {
        scale: 1;
    }
}

.circle {
    scale: 0.3;
    width: 15px;
    height: 15px;
    background-color: #5dbefa;
    border-radius: 100%;
    margin-left: 10px;
    animation: circleAnimation 0.5s infinite alternate;
}


/* هر باکس - دست نزده */

.service-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(220, 38, 38, 0.15);
}

.card-img {
    width: 100%;
    background: #f0f4f8;
}

.card-img img {
    width: 100%;
    display: block;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1rem;
    line-height: 2rem;
    color: #0f2b3d;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card-tag {
    display: inline-block;
    background: #fee2e2;
    color: #dc2626;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-content p {
    color: #5a6e7c;
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.read-link {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.service-card:hover .read-link {
    gap: 12px;
}

.hero-header {
    padding: 15px 30px;
    padding-left: 0px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color: white;
    color: white;
    position: relative;
}

@keyframes backgroundAnimation {
    0% {
        background-position: top;
    }
    100% {
        background-position: bottom;
    }
}

.hero-header .bg {
    background-image: url('../../../public/post-image/header-img.jpg');
    background-size: cover;
    animation: backgroundAnimation 30s infinite alternate;
    filter: blur(2px);
}

.black-bg,
.hero-header .bg {
    border-radius: 5px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}

.black-bg {
    display: block;
    background-color: rgba(0, 0, 0, 0.764);
}

.hero-header h3,
.hero-header span {
    position: relative;
    z-index: 11;
}

.menu-title {
    font-family: kh;
}

.responsive-menu-logo {
    width: 100px !important;
}


/* ریسپانسیو */

@media (max-width: 992px) {
    .service-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 992px) {
    .box-container {
        display: unset;
    }
}

@media (max-width: 768px) {
    .hero-header h1 {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    .hero-icon {
        width: 55px;
        height: 55px;
    }
    .hero-icon i {
        font-size: 1.6rem;
    }
}